package com.yuanqiao.insight.modules.notice.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuanqiao.insight.modules.notice.entity.SysNoticeTemplate;
import com.yuanqiao.insight.modules.notice.mapper.SysNoticeTemplateMapper;
import com.yuanqiao.insight.modules.notice.service.ISysNoticeTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @Description: 通知模板
 * @Author: jeecg-boot
 * @Date: 2021-05-28
 * @Version: V1.0
 */
@Service
public class SysNoticeTemplateServiceImpl extends ServiceImpl<SysNoticeTemplateMapper, SysNoticeTemplate> implements ISysNoticeTemplateService {

    @Autowired
    private SysNoticeTemplateMapper sysNoticeTemplateMapper;

    /**
     * 查看详情数据组装
     *
     * @param id
     * @return
     */
    public SysNoticeTemplate findAllById(String id) {
        return sysNoticeTemplateMapper.findAllById(id);
    }
}
